package cn.wit.luohui.day03;

public class MaxCommonDivisor {
	public static void main(String args[]) {
		int a=6;
		int b=9;
		int c=12;
		System.out.println(max(a,b,c));
	}
	public static int max(int a,int b,int c) {
		int max=a>b?a:b;
		max=max>c?max:c;
		return max;	
	}

}
